//
//  HXFoodMaterialModel.m
//  ZCooking
//
//  Created by 韩旭 on 16/9/12.
//  Copyright © 2016年 HX_. All rights reserved.
//

#import "HXFoodMaterialModel.h"
#import "HXMaterialModel.h"
#import "HXSpicesModel.h"

@implementation HXFoodMaterialModel
- (instancetype)initWithDic:(NSDictionary *)dic {
    self = [super initWithDic:dic];
    if (self) {
        self.material = [[HXMaterialModel getMaterialModelWithArray:dic[@"material"]] mutableCopy];
        self.spices = [[HXSpicesModel getSoicesModelWithArray:dic[@"spices"]] mutableCopy];
    }
    return self;
}
@end
